<nz-table [nzData]="dataList" [nzFrontPagination]="false" nzSize="small"
          [nzScroll]="{ x: '1200px', y: '480px' }">
  <thead>
  <tr>
    <th nzWidth="180px">接收人</th>
    <th nzWidth="120px">时间</th>
    <th nzWidth="180px">题目</th>
    <th>内容</th>
    <th nzWidth="90px">发送结果</th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of dataList">
    <td>{{ data.receiver }}</td>
    <td>{{ data.sendTime| date:'yyyy-MM-dd' }}</td>
    <td>
      {{ data.title }}

    </td>
    <td>
      {{ data.content }}

    </td>
    <td>
      {{ data.result }}
    </td>

  </tr>
  </tbody>
</nz-table>
<nz-pagination nzShowSizeChanger [(nzPageIndex)]="pageInfo.pageNum" [nzTotal]="pageInfo.total"
               [(nzPageSize)]="pageInfo.pageSize"
               [nzShowTotal]="totalTemplate" (nzPageIndexChange)="getList()"
               (nzPageSizeChange)="getList()"></nz-pagination>

<ng-template #totalTemplate>总共 {{ pageInfo.total }} 条</ng-template>




